package com.dupt.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dupt.common.annotation.Excel;
import com.dupt.common.core.domain.BaseEntity;

/**
 * 物料明细对象 dupt_material
 * 
 * @author zhuanyu.sun
 * @date 2025-11-06
 */
public class MaterialDetial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物料ID */
    private long materialDetialId;

    /** 物料内码（系统定义） */
    @Excel(name = "物料内码", readConverterExp = "系=统定义")
    private String materialInnerCode;

    /** 物料编码（ERP定义） */
    @Excel(name = "物料编码", readConverterExp = "E=RP定义")
    private String materialCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 物料规格型号 */
    @Excel(name = "物料规格型号")
    private String materialItem;

    /** 材质 */
    @Excel(name = "材质")
    private String texture;

    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNo;

    /** 批号 */
    @Excel(name = "批号")
    private String batchNo;

    /** 物料精度 */
    @Excel(name = "物料精度")
    private String materialPrecision;

    /** 物料描述 */
    @Excel(name = "物料描述")
    private String materialDescribe;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    private String manufactureNo;

    /** 适用温度 */
    @Excel(name = "适用温度")
    private String applicableTemp;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private Long purchaseAmount;

    /** 采购周期 */
    @Excel(name = "采购周期")
    private Long purchaseCycle;

    /** 存放位置 */
    @Excel(name = "存放位置")
    private String savePos;

    /** 当前位置 */
    @Excel(name = "当前位置")
    private String currentPos;

    /** 是否设置序列号（1：设置；2不设置） */
    @Excel(name = "是否设置序列号", readConverterExp = "1=：设置；2不设置")
    private String isSetSerial;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setMaterialDetialId(long materialDetialId)
    {
        this.materialDetialId = materialDetialId;
    }

    public long getMaterialDetialId()
    {
        return materialDetialId;
    }

    public void setMaterialInnerCode(String materialInnerCode) 
    {
        this.materialInnerCode = materialInnerCode;
    }

    public String getMaterialInnerCode() 
    {
        return materialInnerCode;
    }

    public void setMaterialCode(String materialCode) 
    {
        this.materialCode = materialCode;
    }

    public String getMaterialCode() 
    {
        return materialCode;
    }

    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }

    public void setMaterialItem(String materialItem) 
    {
        this.materialItem = materialItem;
    }

    public String getMaterialItem() 
    {
        return materialItem;
    }

    public void setTexture(String texture) 
    {
        this.texture = texture;
    }

    public String getTexture() 
    {
        return texture;
    }

    public void setSerialNo(String serialNo) 
    {
        this.serialNo = serialNo;
    }

    public String getSerialNo() 
    {
        return serialNo;
    }

    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }

    public void setMaterialPrecision(String materialPrecision) 
    {
        this.materialPrecision = materialPrecision;
    }

    public String getMaterialPrecision() 
    {
        return materialPrecision;
    }

    public void setMaterialDescribe(String materialDescribe) 
    {
        this.materialDescribe = materialDescribe;
    }

    public String getMaterialDescribe() 
    {
        return materialDescribe;
    }

    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }

    public void setManufactureNo(String manufactureNo) 
    {
        this.manufactureNo = manufactureNo;
    }

    public String getManufactureNo() 
    {
        return manufactureNo;
    }

    public void setApplicableTemp(String applicableTemp) 
    {
        this.applicableTemp = applicableTemp;
    }

    public String getApplicableTemp() 
    {
        return applicableTemp;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setPurchaseAmount(Long purchaseAmount) 
    {
        this.purchaseAmount = purchaseAmount;
    }

    public Long getPurchaseAmount() 
    {
        return purchaseAmount;
    }

    public void setPurchaseCycle(Long purchaseCycle) 
    {
        this.purchaseCycle = purchaseCycle;
    }

    public Long getPurchaseCycle() 
    {
        return purchaseCycle;
    }

    public void setSavePos(String savePos) 
    {
        this.savePos = savePos;
    }

    public String getSavePos() 
    {
        return savePos;
    }

    public void setCurrentPos(String currentPos) 
    {
        this.currentPos = currentPos;
    }

    public String getCurrentPos() 
    {
        return currentPos;
    }

    public void setIsSetSerial(String isSetSerial) 
    {
        this.isSetSerial = isSetSerial;
    }

    public String getIsSetSerial() 
    {
        return isSetSerial;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialDetialId", getMaterialDetialId())
            .append("materialInnerCode", getMaterialInnerCode())
            .append("materialCode", getMaterialCode())
            .append("materialName", getMaterialName())
            .append("materialItem", getMaterialItem())
            .append("texture", getTexture())
            .append("serialNo", getSerialNo())
            .append("batchNo", getBatchNo())
            .append("materialPrecision", getMaterialPrecision())
            .append("materialDescribe", getMaterialDescribe())
            .append("manufacturer", getManufacturer())
            .append("manufactureNo", getManufactureNo())
            .append("applicableTemp", getApplicableTemp())
            .append("unit", getUnit())
            .append("purchaseAmount", getPurchaseAmount())
            .append("purchaseCycle", getPurchaseCycle())
            .append("savePos", getSavePos())
            .append("currentPos", getCurrentPos())
            .append("isSetSerial", getIsSetSerial())
            .append("status", getStatus())
            .append("filePath", getFilePath())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
